Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose open and close methods on InfoWindow #125

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

Tofandel
Copy link
Contributor

@Tofandel Tofandel commented Feb 7, 2023

It's currently quite hard to open or close an infowindow as it requires the map from the <GoogleMap> and a ref on the <Marker> and another ref on the <InfoWindow>

But the infowindow already has all those info available and just needs to expose them

@netlify
Copy link

netlify bot commented Feb 7, 2023

👷 Deploy request for vue3-google-map pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 79573ff

@HusamElbashir
Copy link
Collaborator

LGTM

@Tofandel
Copy link
Contributor Author

We could even push it further and add a vModel for the open close state

@HusamElbashir HusamElbashir merged commit d21dfba into inocan-group:develop Jun 1, 2023
@andrewmile
Copy link

andrewmile commented Jun 7, 2023

@husamibrahim Thank you for merging this. Any plans on when it will be tagged as a release?

@hasthik
Copy link

hasthik commented Jun 13, 2023

How do i open and close infoWindow now?

@HusamElbashir
Copy link
Collaborator

Released in v0.16.0

@ClineResearch
Copy link

We could even push it further and add a vModel for the open close state

Hello!
This method by adding vModel for open close state (as documented) doesn't work with v0.17.1 release. An idea to fix it?
Thanks.
JF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants